<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>HTML5报名页面（2）</title>
    <style type="text/css">
        header,footer{
            width: 250px;
            height: 50px;
            background: #999999;
            color: white;
            text-align: center;
            line-height: 50px;
        }
        section{
            width: 250px;
            margin-bottom: 5px;
            color: #999999
        }
        section input{
            color: #999999
        }
        section p{
            width: 250px;
        }
        section span{
            font-weight: bold;
        }
        input{
            width: 159px;
        }
        footer input{
            height: 100%;
            background: #999999;
            color: white;
            width: 100%;
        }
        label{
            width: 80px;
            display: inline-block;
            text-align: center;
        }
    </style>
</head>
<body>
<form th:action="@{/admin/login}" method="post">
    <header>
        <h3>管理员登录</h3>
    </header>
    <section>
        <label for="name" >用户名：</label>
        <input type="text" name="name" id="name" autofocus="autofocus" placeholder="请输入用户名" required="required" title="请输入用户名  "/><br />
        <!--<label for="password">密码：</label>
        <input type="password" name="password" id="password"  autocomplete="off" placeholder="请输入密码" required="required" title="请输入6-20位的密码"/><br />
        --><!--<label for="major">专业班级：</label>
        <input type="text" name="major" id="major" placeholder="请输入专业班级" required="required"/><br />
        --><!--<label for="ways">方向</label>
        <input type="text" name="ways" id="ways"  placeholder="请输入方向" required="required"/><br />
        --><label for="password">密码：</label>
        <input type="text" name="password" id="password"  placeholder="请输入密码" required="required"/><br />
    </section>
    <footer>
        <input type="submit" >
    </footer>
</form>
<!--${msg}-->
</body>